#include <stdio.h>
#include <list>
using std::list;

enum class act_type : int
{
    mul = 1,
    add = 2,
    output = 3,
};

struct act
{
    act_type a;
    int L;
    int R;

    act(int type, int l, int r) : a{(act_type)type}, L{l}, R{r}
    {
    }
};

list<act> acts;
int data[10001] = {0};
int n = 0;
int m = 0;
int p = 1;

int main()
{
    scanf("%d%d%d", &n, &m, &p);
    for (int i = 0; i < n; ++i)
    {
        scanf("%d", data[i]);
    }
    for (int i = 0; i < m; ++i)
    {
        int a, b, c;
        scanf("%d%d%d", &a, &b, &c);
        acts.push_back(act(a, b, c));
    }
}